﻿package common;

import java.util.HashMap;
import java.util.Map;

/**
 * 全局常量类，存放全局用到的常量
 */
public class Globals {

	/** 保存OA系统IP */
	public static final String SERVER_IP = "server_ip";

	public static final String DAIBAN_ROWNUMBER = "daibai_number";

	public static final String DAIYUE_ROWNUMBER = "daiyue_number";

	/**========================strtus 操作 forward 跳转路径名称===========================*/
	/** strtus 编辑操作 forward 跳转路径名称 */
	public static String FORWARD_EDIT = "edit";

	/** strtus 新建操作 forward 跳转路径名称 */
	public static String FORWARD_CREATE = "create";

	/** strtus 列表操作 forward 跳转路径名称 */
	public static String FORWARD_LIST = "list";

	/** strtus forward 跳转路径名称,跳转到主页面:main.jsp */
	public static String FORWARD_MAIN = "main";

	/** strtus forward 跳转路径名称,跳转到主页面:login.jsp */
	public static String FORWARD_LOGIN = "login";

	/** strtus forward 跳转路径名称,跳转到主页面:logout.jsp */
	public static String FORWARD_LOGOUT = "logout";

	/** strtus forward 跳转路径名称,跳转到index页面:index.jsp */
	public static String FORWARD_INDEX = "index";

	/** strtus forward 跳转路径名称,跳转到blank页面:blank.jsp */
	public static String FORWARD_BLANK = "blank";

	/**===============================其他定义===========================================*/
	/**保存到SESSION的当前已经登录的用户*/
	public static String SESSION_USER = "sessionUser";

	/**保存到SESSION的当前已经登录的权限*/
	public static String SESSION_PURVIEW = "sessionPurview";

	/**保存到SESSION的当前已经登录的用户的票据*/
	public static String SESSION_TICKET = "sessionTicket";

	/**保存到SESSION的当前跳转的子系统标识*/
	public static String SESSION_SUBSYSTEMTAG = "currentSubSystemTag";
	
	/**保存到SESSION的当前用户数据权限*/
	public static String SESSION_DATEPOWER = "datePower";
	
	/**保存到SESSION的当前用户能访问的项目ID集*/
	public static String SESSION_PROJECT_IDS = "projectIds";

	/**保存到SESSION的子系统的portalAgent页面地址*/
	public static String SESSION_SUBSYSTEM_PORTALAGENT = "subsystemPortalAgent";

	/**首页要显示栏目的JSON串*/
	public static String MAINPAGE_DISPLAYJSON = "DISPLAYJSON";

	/**首页栏目的JSON串*/
	public static String MAINPAGE_JSON = "JSON";

	/**门户模版VO*/
	public static String MAINPAGE_TEMPLATE = "templateVo";

	/**管理员邮箱*/
	public static String SYSTEM_MAILBOX = "billazw@139.com";

	/**===============================短信发送定义===========================================*/
	/**移动代理服务器的IP*/
	public static String IM_HOST = "localhost";

	/**短信接口创建时的接口登陆名*/
	public static String IM_LOGIN_NAME = "11";

	/**短信接口创建时的接口登陆密码*/
	public static String IM_LOGIN_PWD = "11";

	/**短信接口编号*/
	public static String IM_API_CODE = "11";

	/**短信接口数据库名称*/
	public static String IM_DB_NAME = "im";
	
	public static Map<String,String> INSPECTION_TEMPLATE = new HashMap<String,String>();
	
	
	

}
